//
//  STOrderStatisticsView.h
//  YiYueStore
//
//  Created by zhouzhouzhou on 2018/10/16.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import <UIKit/UIKit.h>
@class STOrderStatisticsView;
@protocol STOrderStatisticsViewDelegate<NSObject>
@optional
-(void)orderStatisticsViewDidSelCellIndexPath:(NSIndexPath *)indexPath;//
-(void)orderStatisticsViewSelType:(NSInteger)selType;//选择类型，
-(void)orderStatisticsViewSureSelectCondition;//确定按钮
-(void)orderStatisticsViewChangeDay:(NSDictionary *)dayDic type:(NSString *)type;
@end

@interface STOrderStatisticsView : UIView<UITableViewDelegate,UITableViewDataSource>{
    UITableView *statisticsTableView;
    NSArray * arrRows;
    NSArray * sectionHeaderNames;
}
@property(nonatomic,strong)id  orderInfoData;
@property(nonatomic,strong)STOrderCountModel *  countModel;
@property(nonatomic,strong)NSArray *  listData;
@property(nonatomic,copy)NSString * starTime;
@property(nonatomic,copy)NSString * endTime;
@property(nonatomic,weak)id<STOrderStatisticsViewDelegate> delegate;

-(void)setOrderStatisticsListView;
-(void)reloadOrderCountView;
-(void)reloadTimerOrType;
-(void)reloadOrderListView;
@end
